package com.yic.module.device.controller.admin.inspectionRecord.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yic.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static com.yic.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 巡检/点检记录 Excel 导出 Request VO，参数和 InspectionRecordPageReqVO 是一致的")
@Data
public class InspectionRecordExportReqVO {

    @Schema(description = "工单号")
    private String code;

    @Schema(description = "检验类型")
    private Integer inspectionType;

    @Schema(description = "计划ID(检验类型为巡检时不为空)")
    private Long planId;

    @Schema(description = "设备ID")
    private Long deviceId;

    @Schema(description = "任务ID")
    private Long jobId;

    @Schema(description = "创建人ID")
    private Long creator;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
